home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Magazine / C_Tutorial / Part-13 / PatchLib / source / stubs / SetPatch.asm < prev    next >
Encoding:
Assembly Source File  |  1994-01-17  |  313 b   |  26 lines

  1. * SetPatch.asm
  2.  
  3.     incdir "work:Includes/IncludeV2.0.i/"
  4.     include "exec/types.i"
  5.     include "exec/libraries.i"
  6.  
  7.     SECTION code
  8.  
  9.     XREF    _PatchBase
  10.  
  11.  
  12.     XREF    _LVOSetPatch
  13.     XDEF    _SetPatch
  14.  
  15. _SetPatch:
  16.     move.l a6,-(sp)
  17.     move.l 8(sp),a0
  18.     lea.l 12(sp),a1
  19.     move.l _PatchBase,a6
  20.     jsr _LVOSetPatch(a6)
  21.     move.l (sp)+,a6
  22.     rts
  23.  
  24.  
  25.     END
  26.